//
//  ImageBrowser.h
//  demods
//
//  Created by beisheng03 on 16/6/4.
//  Copyright © 2016年 beisheng. All rights reserved.
//

#import <UIKit/UIKit.h>



@interface ImageBrowser : UICollectionView

//微缩图的URLs必须传值
@property (nonatomic, strong,nonnull) NSArray *thumPicURLs;

/** <#note#> */
@property (nonatomic, strong,nullable) NSIndexPath *index;


//高清图的URLs
@property (nonatomic, strong,nullable) NSArray *bigPicURLs;
//self.imageView_.contentMode = UIViewContentModeScaleAspectFill;
//self.imageView_.clipsToBounds = YES;

@end




@interface BrowserLayout : UICollectionViewFlowLayout
- (CGSize)itemSizeWitUrls:(NSArray<NSURL *> *_Nullable)urls withMargin:(CGFloat)leftRightMargin;
- (CGSize)myCollectionViewSizeWitUrls:(NSArray<NSURL *> *_Nullable)urls withMargin:(CGFloat)leftRightMargin;
@end



